
import server from './http.js' //导入axios

// 我的收藏 的接口

/**
 * 全部商品里面分页
 */
//获取全部收藏
const CollectAll = (model) => {
    let data = server.post('/user/collect/getCollect', model)
    return data
}
//删除 收藏
const delCollect = (model) => {
    let data = server.post('/user/collect/deleteCollect', model)
    return data
}

export { CollectAll, delCollect }
